package com.example.demo.Entity;

/**
 * 块文件
 * @author xyt
 */
public class Chunk {
  private long chunkId;  //块ID
  private long size;     //块的大小

  public Chunk(int chunkId,int size){
    this.chunkId = chunkId;
    this.size = size;
  }

  /**
   * getter & setter
   */
  public long getChunkId() {
    return chunkId;
  }

  public void setChunkId(long chunkId) {
    this.chunkId = chunkId;
  }

  public long getSize() {
    return size;
  }

  public void setSize(long size) {
    this.size = size;
  }
}
